<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>图片添加</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
          integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
            integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
            crossorigin="anonymous"></script>
    <script th:src="@{http://code.jquery.com/jquery-2.1.1.min.js}"></script>
</head>
<style>
    p{
        font-size: 26px;
    }
    input{
        font-size: 26px;
    }
    body{
        background-color: #85FFBD;
        background-image: linear-gradient(45deg, #85FFBD 0%, #FFFB7D 100%);


    }
</style>
<body>
<div style="padding-left: 40%;padding-top: 100px;">
<form th:action="@{/photoadd}" th:method="post">
    <p>图片链接地址</p>
    <input type="text" name="url" style="width: 300px">
    <p>图片版权</p>
    <input type="text" name="author" style="width: 300px">
    <p>图片分类</p>
    <br>
    <label class="radio-inline">
        <input type="radio" name="cid" id="inlineRadio1" value="1"> 风光摄影
    </label>  &nbsp;  &nbsp;  &nbsp;
    <label class="radio-inline">
        <input type="radio" name="cid" id="inlineRadio2" value="2">卡通动漫
    </label>
    &nbsp;  &nbsp;  &nbsp;
    <label class="radio-inline">
        <input type="radio" name="cid" id="inlineRadio3" value="3"> 炫酷创意
    </label>
   <div>
       <br>
       <br>
       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <button type="submit" class="btn btn-success " style="width: 100px;font-size: 16px;color: black">提交</button>&nbsp;&nbsp;&nbsp;&nbsp;
       <button type="button" class="btn btn-warning" style="width: 100px;font-size: 16px;color: black"><a th:href="@{/adminindex}">返回</a></button></div>
</form>
</div>
</body>
</html>